package com.tjtt.gwm.webservice.lync;

import com.tjtt.gwm.webservice.lync.send.DoResult;
import com.tjtt.gwm.webservice.lync.send.OCSService;
import com.tjtt.gwm.webservice.lync.send.OCSServiceLocator;
import com.tjtt.gwm.webservice.lync.send.OCSServiceSoap_PortType;

public class Test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		try {
			System.out.println("1");
			OCSService lync = new OCSServiceLocator();
			OCSServiceSoap_PortType lynctype = lync.getOCSServiceSoap();
			DoResult result = lynctype.sendOCSMessage("applicationID", "applicationPassword", "GW0200619@corp.gwm.cn", "GW00062487@corp.gwm.cn", "1", "TDM测试消息");
			System.out.println(result.getResultCode());
		} catch (Exception e) {
			
		}
		
	}

}
